<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
    <title>Document</title>
    <link rel="stylesheet" href="css/index.css">

</head>

<body>

    <div class="fixed text-white text-lg ml-4 mt-1 select-none"><span>Score: </span><span id="scoreEl">0</span>
    </div>
    <div class="bottle fixed ml-3 mt-8 select-none">
        <img src="images/logo.png" class="logo" alt="娃哈哈" />
        <div class="liquid" id="liquidEl"></div>
    </div>

    <div class="fixed inset-0 flex items-center justify-center" id="modalEl">
        <div class="bg-white max-w-md w-full p-6 text-center">
            <h1 class="text-4xl font-bold leading-none" id="bigScoreEl">0</h1>
            <p class="text-lg text-gray-700 mb-4">Points</p>
            <!-- 广告容器 -->
            <div id="advertisement" class="mt-4 flex flex-col items-center justify-center">
                <img id="adImage" src="images/wahaha.png" alt="Ad" class="max-w-xs object-contain h-64">
                <p id="adText" class="text-lg text-gray-700 mt-2 font-bold">射击敌人，获取分数！</p>
            </div>
            <div><button class="bg-blue-500 text-white w-full py-3 rounded-full text-lg" id="startGameBtn">开始游戏</button>
            </div>

        </div>
    </div>
    <canvas></canvas>
    <script src="https://cdnjs.cloudflare.com/ajax/libs/gsap/3.12.5/gsap.min.js"
        integrity="sha512-7eHRwcbYkK4d9g/6tD/mhkf++eoTHwpNM9woBxtPUBWm67zeAfFC+HrdoE2GanKeocly/VxeLvIqwvCdk7qScg=="
        crossorigin="anonymous" referrerpolicy="no-referrer"></script>

    <script src="https://cdn.tailwindcss.com"></script>
    <script src="./js/index.js"></script>
</body>

</html>